export default {
  name: 'selectCategory',
  data () {
    return {
      
    }
  },
  methods: {
  	
	},
	mounted: function(){
		window.document.title = "选择品牌";
		var oInnerH;
  	if(window.innerWidth){
			 oInnerH= window.innerHeight;
		}else{
			oInnerH = document.documentElement.clientHeight||document.body.clientHeight;
		}
		
		var tH = parseInt($(this.$refs.rightNav).css("top"));
		var pW = parseInt($(this.$refs.rightNav).find("p").css("paddingLeft"));
		var pH = (oInnerH-tH*2)/27 - 2;
		var spanH = pH - pW*2;
		$(this.$refs.rightNav).find("p").width(pH).height(pH);
		$(this.$refs.rightNav).find("span").height(spanH).css("lineHeight", spanH+"px");
	}
}